.carousel-container {
	position: relative;
	width: 75%;
	z-index: 1;
	overflow: hidden;
}

.carousel-slide {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.7s ease-in-out;
}

.carousel-slide a {
	display: block;
	width: 100%;
	height: 100%;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel-control {
	text-align: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	font-size: 30px;
	text-decoration: none;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;

}

.carousel-control-t {
	position: absolute;
	width: 10%;
	height: 100%;
}

.carousel-control-t:hover .carousel-control {
	display: block;
}

.prev {
	left: 0;
}

.next {
	right: 0;
}


.carousel-indicators {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);

}

.carousel-indicators .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: gray;
	margin: 0 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	/* 添加过渡效果 */
}

.carousel-indicators .indicator.active {
	background-color: white;
}

.catalogue {
	margin-bottom: -100px;
	overflow: hidden;
	width: 100%;
	background: url(../images/bg01.jpg) no-repeat;
	background-size: auto;
}

.catalogue_1 {
	overflow: hidden;
	border-radius: 10px;
	width: 60%;
	height: 50vh;
	margin: 150px auto;

	box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.3);
}

.catalogue_top {
	height: 80%;
	display: flex;
}

.catalogue_top>ul {
	position: relative;
	padding: 10px 0;
	text-align: center;
	color: #888;
	width: 25%;
	background-color: #39364de2;
	font-size: 18px;
}

.catalogue_top>ul>li {
	line-height: 50px;
	height: 14%;

}

.catalogue_top li:hover {
	background-color: #ffffff29;
}



.catalogue_buttom ul {
	display: flex;
	width: 98%;
	margin: 0 auto;
}

.catalogue_buttom a {
	display: flex;
}

.catalogue_buttom li {
	padding: 20px 0 0 0;
	width: 20%;
}

.catalogue_buttom img {
	width: 50px;
	height: 50px;
	transition: all 0.3s;
}

.catalogue_buttom div {
	margin-left: 5px;
	color: #000;
	line-height: 20px;
}

.catalogue_buttom h1 {
	text-align: center;
	font-size: 14px;

}

.catalogue_buttom p {
	font-size: 12px;

}

.catalogue_buttom a:hover img {
	transform: translateY(-5px);
}

.catalogue_buttom a:hover h1 {
	color: red;
}

.secondary-menu {
	position: absolute;
	display: none;
	width: 50vh;
	height: 40vh;
	background-color: #fff;
	top: 0;
	left: 100%;
	z-index: 2;
}

.secondary-menu li {
	width: 50vh;
	background-color: #fff;
}

.catalogue_top li:hover .secondary-menu {
	display: flex;
}

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-header {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	justify-content: flex-start;
	padding: 0 20px;
}

.top-header h1 {
	font-size: 24px;
	color: #333;
	margin-right: 10px;
}

.top-header .update-info {
	color: #999;
	font-size: 14px;
}

.tabs-container {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0 20px;
}

.rank-card {
	background: white;
	border-radius: 8px;
	padding: 20px;
	width: 400px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin: 0 10px;
	border: 1px solid #eee;
}

.rank-title {
	background: #ff7849;
	color: white;
	display: inline-block;
	padding: 5px 15px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 16px;
}

.study-rank .rank-title {
	background: #9c27b0;
}

a.course-item {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding: 10px;
	border-radius: 8px;
	transition: all 0.3s;
	cursor: pointer;
}

a.course-item:hover {
	background: #f8f8f8;
	transform: translateX(5px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rank-number {
	width: 24px;
	height: 24px;
	background: #ffb74d;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	font-size: 14px;
}

.course-item:nth-child(1) .rank-number {
	background: #ff6b6b;
}

.course-item:nth-child(2) .rank-number {
	background: #4ecdc4;
}

.course-item:nth-child(3) .rank-number {
	background: #45b7d1;
}

.course-image {
	width: 100px;
	height: 60px;
	border-radius: 4px;
	margin-right: 15px;
	background: #eee;
	overflow: hidden;
}

.course-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.course-info {
	flex: 1;
}

.course-title {
	font-size: 14px;
	color: #333;
	margin-bottom: 5px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.course-price {
	color: #f44336;
	font-size: 16px;
	font-weight: bold;
}

.student-count {
	color: #999;
	font-size: 12px;
}

.view-more {
	color: #ff5722;
	text-align: center;
	display: block;
	margin-top: 15px;
	text-decoration: none;
	padding: 10px 0;
	transition: all 0.3s;
}

.view-more:hover {
	color: #f44336;
}

@media (max-width: 900px) {
	.main-container {
		margin: 10px;
	}

	.tabs-container {
		flex-direction: column;
		align-items: center;
	}

	.rank-card {
		width: 100%;
		max-width: 400px;
		margin: 10px 0;
	}
}